package com.yyds.mapper;

import com.yyds.pojo.PersonVolunteer;
import com.yyds.vo.EchartBarVo;
import com.yyds.vo.PersonVolunteerVo;

import java.util.List;
import java.util.Map;

/**
 * @author 花君瑜
 * @date 2022/10/14 18:52:39
 * @desc
 **/
public interface PersonVolunteerMapper {
    //查全部志愿者信息
    List<PersonVolunteerVo> queryAllPersonVolunteerMapper(Map<String, Object> params);
    //删除部分志愿者信息
    Integer deleteAllPersonVolunteerMapper(List<Integer> list);
    //根据id删除志愿者信息
    Integer deletePersonVolunteerMapper(Integer volunteer_id);
    //添加志愿者信息
    Integer addPersonVolunteerMapper(PersonVolunteer personVolunteer);
    //修改志愿者信息
    Integer updatePersonVolunteerMapper(PersonVolunteer personVolunteer);
    //查询所有地区名称
    List<String> queryAllRegionNameMapper();
    //根据地区名称查地区id
    Integer queryRegionIdMapper(String region_name);
    //根据地区id 查 封控地区id
    Integer queryAreaIdMapper(Integer region_id);
    //根据防控地区生成 柱状图
    List<EchartBarVo> queryPersonVolunteerMapper();
}
